package com.cn.dim.service;

import java.util.List;
import java.util.Map;

import com.cn.dim.pojo.Dep;

public interface DepService {
	public List<Map<String,Object>> queryDep(Map<String,Object> m);
	public int insertDep(Dep d,List<Map<String,Object>> list);
	public List<Map<String,Object>> queryDepByLevel1(Map<String,Object> m);
	public List<Dep> queryDepartmentList(Map<String,Object> m);
	public Dep queryDepBeanById(Map<String,Object> m);
	public List<Map<String,Object>> queryDepAndPosition(Map<String,Object> m);
	public List<Map<String,Object>> checkChild(Map<String,Object> m);
	public int delDep(Map<String,Object> m);//涉及到子节点的级联删除
	public int updateDep(Dep d,List<Map<String, Object>> m);
}
